package tom.shared;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class Voucher implements Serializable {
	private static final long serialVersionUID = 3292419567798940932L;

	public Voucher() {
		items = new ArrayList<VchItem>();
		payments = new ArrayList<Payment>();
		totalAmt = 0.0;
		amtPaid = 0.0;
		totalItem = 0.0;
		totalTax = 0.0;
		spcDeduct = 0.0;
		taxRate = 0.0;
	}

	public List<VchItem> items;
	public List<Payment> payments;

	public Integer voucherNo;
	public Integer vatReportNo;
	public Integer bookingRun;
	public String systemKind;
	public String docuKind;
	public String docRef;
	public Date vchDate = new Date();
	public String contCode;
	public String contAddr;
	public Double totalAmt;
	public Double totalItem;
	public Double totalVat;
	public Double spcDeduct;
	public Double totalTax;
	public Double amtPaid;
	public String totalAmtText;
	public String status;
	public Double taxRate;
	public String creUser;
	public Date creTime;
	public String modUser;
	public Date modTime;
}
